export const downloadPdf = (name = "报告.pdf", url = "") => {
  var link = document.createElement("a");
  link.setAttribute("href", url);
  link.setAttribute("download", `${name}`);
  document.body.appendChild(link); // Required for FF
  link.click();
  link.remove();
};
